/* .active-header {
   background-color: red;
} */
.drawer-button {
  position: absolute;
  bottom: -40px;
  /* 将按钮定位在阴影下方 */
  left: 55%;
  /* 居中对齐 */
  transform: translateX(-50%);
  /* 水平居中 */
}

/** 开单抽屉开始 */
.table-drawer /deep/ .el-drawer__header {
  background-color: rgb(255, 255, 255);
  flex: none;
  padding: 0px 20px;
  height: 50px;
  color: #000000;
  margin-bottom: 0px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 1px 5px;
}

.table-drawer /deep/ .el-drawer__title {
  font-size: 20px;
}

.table-drawer /deep/ .el-form-item__label {
  color: black;
}

/** 开单抽屉结束 */

.form /deep/ .el-input__inner {
  width: 70%;
}

/**详情信息 抽屉开始 */
.details-drawer {
  position: relative;
  height: 100%;
}
.details-drawer /deep/ .el-drawer__header {
  background-color: rgb(255, 255, 255);
  flex: none;
  padding: 0px 20px;
  height: 50px;
  color: #000000;
  margin-bottom: 0px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 1px 5px;
}
.details-drawer__content{
  padding: 0 10px;
}
.drawer-title {
  font-size: 20px;
}

.drawer-title {
  display: flex;
  align-items: center;
}

.drawer-buttons {
  margin-left: auto;
  /* 将按钮右对齐 */
}

.drawer-buttons el-button {
  margin-left: 10px;
  /* 调整按钮之间的间距 */
}
.drawer-button-container {
  position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    /* 按钮在右边 */
    padding: 10px;
    background-color: white;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}
.drawer-button-container .el-button {
  margin-right: 20px;
  /* 添加适当的右边距 */
}
.details-drawer /deep/ .el-form-item__label {
  color: black;
  font-size: 12px;
  line-height: 55px;
}

.details-drawer /deep/ .el-form-item__content {
  line-height: 55px;
  /* 设置标签和内容的行高 */
}

/* 详情信息 抽屉结束 */

.table-drawer /deep/ .demo-drawer__content {
  display: flex;
    flex-direction: column;
    /* 垂直居中 */
    height: calc(100% - 60px);
    /* 减去按钮容器的高度 */
    overflow-y: auto;
    padding: 20px;
}

.form-content {
  width: 90%;
  margin: 0 auto;
}
.table-drawer {
  position: relative;
  height: 100%;
}
.table-drawer /deep/ .el-form-item__label {
  line-height: 70px;
  /* 设置标签的行高 */
}

.table-drawer /deep/ .el-form-item__content {
  line-height: 70px;
  /* 设置标签和内容的行高 */
}

.el-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* 定义特定的 details-divider 样式 */
.details-drawer /deep/ .details-divider {
  border-top: 2px solid #aaa9a9;
  /* 设置实线样式 */
  margin: 20px 0;
  /* 上下间距 */
  clear: both;
}

/* el-divider 修改高度&虚线效果 */
.el-divider--horizontal {
  margin: 10px 0;
  background: 0 0;
  border-top: 1px dashed #000000;
}

.divider {
  width: 130px;
}

.el-row .el-card {
  height: 150px;
  min-width: 178px;
  max-width: 200px;
    /* 设置最大宽度 */
  width: 100%;
  margin-right: 20px;
  transition: all 0.5s;
  margin-bottom: 20px;
}
.el-col-6{
  width:auto;
}
.clickCard:hover {
  cursor: pointer;
  /* 鼠标悬停时显示手型光标 */
}

.clickCard {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 垂直居中 */
  align-items: center;
  /* 水平居中 */
  height: 100%;
  /* 将高度设置为父元素高度 */
  text-align: center;
  /* 水平居中 */
}

.header-label-idle-hearder {
  font-size: 18px;
  font-weight: bold;
}

.header-label-opened-hearder {
  font-size: 18px;
  font-weight: bold;
  color: white;
}

.header-label-opened {
  color: white;
}

.el-form-item {
  margin-bottom: 0 !important;
}

.pagination-container {
  margin-top: -3px;
  margin-bottom: 30px;
}

.header {
  text-align: center;
}

.box-card {
  border: 1px solid #000000;
  /* 设置边框样式 */
}

.custom-table {
  max-height: calc(100vh - 370px) ;
  overflow-y: auto;
  /* 添加滚动条 */
}
.el-table::before {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
}

.table-total {
  padding: 10px;
}
.custom-table::-webkit-scrollbar {
  display: none;
  /* 隐藏滚动条 */
}
.custom-table /deep/ .el-table__header-wrapper {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 1;
}

.details-drawer_table /deep/ .el-table td{
  text-align: center;
  font-size: 14px;
  white-space: nowrap;
  color: #000000;
}


/*
详情里表格样式
*/
.details-drawer_table /deep/ .el-table th{
  text-align: center;
  font-size: 14px;
  color: #000000;
    background-color: rgb(194, 216, 255);
}

.details-drawer_table /deep/ .el-tabs__item{
  font-size: 14px;
}

.table-total {
  float: right;
    /* 将小计金额整体移动到右边 */
}
.table-total-number {
  font-size: 25px;
  font-weight: bold;
  /* 加粗 */
  color: red;
  /* 红色 */
}

.details-drawer-bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  align-items: center;
  /* 垂直居中 */
  justify-content: space-between;
  /* 水平分布空间 */
  background-color: white;
  z-index: 1000;
  padding: 10px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.details-drawer-bottom-text {
  display: flex;
  align-items: center;
  /* 垂直居中 */
  justify-content: center;
  /* 水平居中 */
  gap: 5px;
  flex-grow: 1;
  /* 占据剩余空间 */
}

.details-drawer-bottom-total {
  font-size: 16px;
}

.details-drawer-bottom-button {
  display: flex;
  gap: 10px;
}

.custom-button {
  padding: 10px 20px;
}

.blue-button {
  background-color: rgb(0, 139, 226);
  border-color: rgb(0,139,226);
  color: white;
}

.blue-button:hover {
  background-color: rgb(0, 157, 255);
  border-color: rgb(0, 157, 255);
  color: white;
}

.green-button {
  background-color: rgb(0, 140, 0);
  border-color: rgb(0, 140, 0);
  color: white;
}

.red-button {
  background-color: rgb(199, 0, 0);
  border-color: rgb(199, 0, 0);
  color: white;
}

.green-button:hover {
  background-color: rgb(0, 170, 0);
  border-color: rgb(0, 170, 0);
}

.red-button:hover {
  background-color: red;
  border-color: red;
}

.background-grey {
  background-color: #b4b4b4;
}

.background-green {
  background-color: #5acd00;
}

.background-yellow {
  background-color: #fdff72;
}

